#include <stdio.h>
#include <e_file.h>

int main (int argc, char **argv)
{
	char buf[128]  = {};
	int cnt;
	int fd = open (argv[1], O_RDONLY);
	if (-1 == fd) {
		perror ("open ()");
		return -1;
	}
	cnt = read (fd, buf, 128);
	if (cnt == -1) {
		perror ("read ()");
		return -1;
	}
	write (1, buf, cnt);
	close (fd);
	return 0;
}
